package com.ruoyi.job.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class MaterialjkOrderDs extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    @JsonSerialize(using = ToStringSerializer.class)
    private String orderNo;

    /** 资料ID */
    private Long materialId;

    /** 购买用户ID */
    private Long userId;

    /** 用户姓名 */
    private String username;

    /** 用户电话 */
    private String userphone;

    /** 订单金额 */
    private BigDecimal amount;

    /** 实缴金额 */
    private BigDecimal realAmount;

    private Integer status;
}
